package com.woniu.cms.goods.core.service;

import com.fasterxml.jackson.core.JsonProcessingException;
import com.woniu.cms.goods.core.entity.GoodsDictionary;
import com.baomidou.mybatisplus.extension.service.IService;
import com.woniu.common.api.Result;

/**
 * <p>
 * 材料字典表，内涵所有材料，所有组织机构共享 服务类
 * </p>
 *
 * @author romantic sheep
 * @since 2022-09-17
 */
public interface IGoodsDictionaryService extends IService<GoodsDictionary> {

    Result getlist(Integer currentPage, Integer pageSize, Integer typeId,Integer status);

    Result addDictionary(GoodsDictionary goodsDictionary) throws JsonProcessingException;

    Result updateDictionary(GoodsDictionary goodsDictionary);


}
